.class Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$4;
.super Ljava/lang/Object;
.source "NiceAppCommentDetailActivity.java"

# interfaces
.implements Landroid/widget/AbsListView$OnScrollListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 236
    iput-object p1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$4;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onScroll(Landroid/widget/AbsListView;III)V
    .registers 7
    .param p1, "view"    # Landroid/widget/AbsListView;
    .param p2, "firstVisibleItem"    # I
    .param p3, "visibleItemCount"    # I
    .param p4, "totalItemCount"    # I

    .prologue
    .line 249
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$4;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    add-int v0, p2, p3

    if-lt v0, p4, :cond_b

    const/4 v0, 0x1

    :goto_7
    # setter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mScrollToEnd:Z
    invoke-static {v1, v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$402(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Z)Z

    .line 250
    return-void

    .line 249
    :cond_b
    const/4 v0, 0x0

    goto :goto_7
.end method

.method public onScrollStateChanged(Landroid/widget/AbsListView;I)V
    .registers 4
    .param p1, "view"    # Landroid/widget/AbsListView;
    .param p2, "scrollState"    # I

    .prologue
    .line 240
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$4;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mScrollToEnd:Z
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$400(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Z

    move-result v0

    if-eqz v0, :cond_27

    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$4;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mHasMoreComments:Z
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$500(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Z

    move-result v0

    if-eqz v0, :cond_27

    if-nez p2, :cond_27

    .line 241
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$4;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mLoadingBar:Landroid/widget/ProgressBar;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$600(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/ProgressBar;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ProgressBar;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_27

    .line 242
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$4;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mShowMore:Landroid/view/View;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$700(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->performClick()Z

    .line 245
    :cond_27
    return-void
.end method
